@import '../../../src/res/theme/xxhz.scss';



.tourist-root {
  width: 100%;
  overflow-x: hidden;
  display: flex;
  justify-content: space-between;
  min-height: 100vh;
  flex-direction: column;

  .head {
    width: 100%;
    position: fixed;
    z-index: 999;

    .search-bar {
      left: 50%;
      transform: translateX(-50%);
      position: absolute;
      width: 100%;
    }
  }

  .header-bar {
    position: fixed;
    z-index: 1000;
  }

  .head-back-img {
    width: 100%;

    .img {
      width: 100%;
      height: 100%;
    }
  }

  .head-bg {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transition: all 0.4s ease 0s;
  }

  .zoom {
    position: relative;
    z-index: 2;
  }

  .categorys {
    box-sizing: border-box;
    padding: 40px 20px 20px;
    background: #fff;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }

  .hot {
    background-color: #f8f8f8;
    box-sizing: border-box;
    padding: 20px;

    .title {
      font-size: 32px;
      color: #333;
      padding: 20px 0;
    }

    .content-box {
      width: calc(100% - 40px);
      display: grid;
      grid-template-columns: repeat(3, 33.33333%);
      grid-gap: 10px 20px;

      .item {
        width: 100%;

        .img {
          width: 100%;
          height: 168px;
          display: block;
          border-radius: 10px;
        }

        .name {
          color: #a4a4a4;
          font-size: 22px;
          white-space: nowrap;
          overflow: hidden;
          text-overflow: ellipsis;
          line-height: 50px;
          text-align: center;
        }
      }
    }
  }

  .bottom-nav {
    display: flex;
    box-sizing: border-box;
    padding: 20px;
    background-color: white;
    position: sticky;
    z-index: 99;
    align-items: center;

    .main {
      width: 140px;
      flex-shrink: 0;
      font-size: 32px;
      color: #454545;
      font-weight: bold;
    }

    .subNav {
      flex-grow: 1;

      .nav-box {
        display: flex;
        width: 100%;
        font-size: 24px;
        color: #3b3b3b;

        .nav-item {
          padding: 8px 20px 0;
          flex-shrink: 0;
        }

        .active {
          color: $mainColor;
        }
      }
    }
  }

  .bottom-goods {
    background-color: white;
  }
}

.listNull {
  width: 100%;
  height: 75vw;
  text-align: center;
  overflow: hidden;

  image, .taro-img {
    width: 295px;
    height: 295px;
    margin: 86px auto 35px;
  }

  .text, .taro-text {
    font-size: 24px;
    color: #666
  }
}
